import httpApi from '@/service/api.js'
// 轮播图
export function getMusicBanner() {
	return httpApi.get('/banner', {
		type: 2
	})
}
// 歌单
export function getHitList(cat = "全部", limit = 8, offset = 0) {
	return httpApi.get('/top/playlist', {
		cat,
		limit,
		offset
	})
}
// 推荐歌曲
export function getRecommendSong(id) {
	return httpApi.get('/playlist/detail', {
		id
	})
}
// 歌曲信息
export function getSongInfo(ids) {
	return httpApi.get('/song/detail', {
		ids
	})
}
// 歌词
export function getLyricsData(id) {
	return httpApi.get('/lyric', {
		id
	})
}
